<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="css/default.css">
<link rel="stylesheet" type="text/css" href="css/locations.css">
<link rel="stylesheet" type="text/css" href="css/admin.css">
<link rel="icon"          type="image/png" href="images/icons/logo.png" />
<link rel="shortcut icon" type="image/png" href="images/icons/logo.png" />
<script type="text/javascript" src="scripts/default.js"></script>
<script type="text/javascript" src="scripts/maps.js"></script>

<title>Thai Kitchen - Add/Edit Location</title>
</head>
  <body>
    <%@include file="header.inc"%>
    <div id="ie6pagecontainer">
      <div id="container">
        <div id="content" style="width: 100%;">
          <h2>Add/Edit Location</h2>
          <form method="post" action="Edit%20Locations?id=${location.id}">
            <table class="input">
              <tr><td>Name</td><td><input type="text"           name="name"        value="${location.name}" /></td></tr>
              <tr><td>Description</td><td><input type="text"    name="description" value="${location.description}" /></td></tr>
              <tr><td>Phone</td><td><input type="text"          name="phone"       value="${location.phoneNumber}" /></td></tr>
              <tr><td>Street Address</td><td><input type="text" name="address"     value="${location.address}" /></td></tr>
              <tr><td>City</td><td><input type="text"           name="city"        value="${location.city}" /></td></tr>
              <tr><td>State</td><td><input type="text"          name="state"       value="${location.state}" /></td></tr>
              <tr><td>Zip</td><td><input type="text"            name="zip"         value="${location.zip}" /></td></tr>
              <tr>
                <td colspan="2" style="text-align: center">
                  <button type="submit" title="Adds a new location">
                    <img src="images/icons/disk.png" /> Save
                  </button>
                </td>
              </tr>
            </table>
          </form>
        </div>
      </div>
    </div>
    <%@include file="footer.inc"%>
  </body>
</html>